//
//  Message.h
//  cliqset
//
//  Created by David Hinson on 3/30/09.
//  Copyright 2009 Cliqset, Inc.. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Sender : NSObject {
@private
	NSMutableString * _userIdentifier;
	NSMutableString * _givenName;
	NSMutableString * _familyName;
	NSMutableString * _gender;
	NSMutableString * _avatarURL;
	NSMutableData   * _avatarBlob;
	NSMutableString * _hometown;
}

@property (retain, nonatomic) NSMutableString * userIdentifier;
@property (retain, nonatomic) NSMutableString * givenName;
@property (retain, nonatomic) NSMutableString * familyName;
@property (retain, nonatomic) NSMutableString * gender;
@property (retain, nonatomic) NSMutableString * avatarURL;
@property (retain, nonatomic) NSMutableData   * avatarBlob;
@property (retain, nonatomic) NSMutableString * hometown;

@end

@interface Message : NSObject {
@private
	NSMutableString * _messageIdentifier;
	Sender          * _sender;
	NSMutableString * _subject;
	NSMutableArray  * _recipients;
	NSMutableString * _timeSent;
	NSMutableString * _read;
	NSMutableString * _body;
	int               _mode;
}

@property (retain, nonatomic) NSMutableString * messageIdentifier;
@property (retain, nonatomic) Sender          * sender;
@property (retain, nonatomic) NSMutableString * subject;
@property (retain, nonatomic) NSMutableArray  * recipients;
@property (retain, nonatomic) NSMutableString * timeSent;
@property (retain, nonatomic) NSMutableString * read;
@property (retain, nonatomic) NSMutableString * body;
@property int                                   mode;

@end
